package org.adw.launcher2.ld.secret.receiver;

import org.adw.launcher2.ld.secret.ui.utils.Global;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.provider.CallLog;

public class InCommingPhoneReceiver extends BroadcastReceiver {
	public static int SIZE = 50;
	@Override
	public void onReceive(Context context, Intent intent) {
		Global.cr = context.getContentResolver();
		for(int i=0;i<SIZE;i++){
			Global.cr.delete(CallLog.Calls.CONTENT_URI, null, null);
			System.err.println("InCommingPhoneReceiver");
		}
	}
}
